<div class="auto-height-box">
<div class="ibox-content">
    <form class="form-horizontal" method="post" action="{:url('SysMsgType/add')}">
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('reminder type')}</label>
            <div class="col-sm-8">
                <input name="name" class="form-control" type="text" placeholder="{:lang('reminder type')}" value=""/>
                <span class="help-block m-b-none"></span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('event description')}</label>
            <div class="col-sm-8">
                <textarea name="remark" class="form-control" cols="80" rows="2"></textarea>
                <span class="help-block m-b-none"></span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('business identification')}</label>
            <div class="col-sm-8">
                <input name="type" class="form-control" type="text" placeholder="{:lang('business identification')}" value=""/>
                <span class="help-block m-b-none">{:lang('如')}：{:lang('跟进')}cst_trace</span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('业务地址')}</label>
            <div class="col-sm-8">
                <input name="url" class="form-control" type="text" placeholder="{:lang('业务详细地址')}" value=""/>
                <span class="help-block m-b-none">{:lang('业务信息详细链接地址')}，{:lang('如')}：crm/SalContact/detail</span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('advance time')}({:lang('hour')})</label>
            <div class="col-sm-8">
                <input name="hours" class="form-control" type="text" placeholder="{:lang('advance time')}({:lang('hour')})" value="1"/>
                <span class="help-block m-b-none">{:lang('业务到期的提前提醒时长')}（{:lang('小时')}），{:lang('默认为提前')}1{:lang('小时')}{:lang('提醒')}</span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('total number of notifications')}</label>
            <div class="col-sm-8">
                <input name="remind_nums" class="form-control" type="text" placeholder="{:lang('total number of notifications')}" value="3"/>
                <span class="help-block m-b-none">{:lang('total number of notifications')}</span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('interval')}({:lang('hour')})</label>
            <div class="col-sm-8">
                <input name="remind_interval" class="form-control" type="text" placeholder="{:lang('interval')}({:lang('hour')})" value="1"/>
                <span class="help-block m-b-none">{:lang('系统消息')}，{:lang('每次提醒后的下次间隔时间')}，{:lang('默认为提前')}1{:lang('小时提醒')}</span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('mobile phone')}</label>
            <div class="col-sm-8">
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="sms_1" value="1" name="remind_sms" checked>
                    <label for="sms_1"> {:lang('enable')} </label>
                </div>
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="sms_0" value="0" name="remind_sms">
                    <label for="sms_0"> {:lang('disabled')} </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('system')}</label>
            <div class="col-sm-8">
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="sys_1" value="1" name="remind_sys" checked>
                    <label for="sys_1"> {:lang('enable')} </label>
                </div>
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="sys_0" value="0" name="remind_sys">
                    <label for="sys_0"> {:lang('disabled')} </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('email')}</label>
            <div class="col-sm-8">
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="email_1" value="1" name="remind_email" checked>
                    <label for="email_1"> {:lang('enable')} </label>
                </div>
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="email_0" value="0" name="remind_email">
                    <label for="email_0"> {:lang('disabled')} </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('wechat')}</label>
            <div class="col-sm-8">
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="weixin_1" value="1" name="remind_weixin" checked>
                    <label for="weixin_1"> {:lang('enable')} </label>
                </div>
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="weixin_0" value="0" name="remind_weixin">
                    <label for="weixin_0"> {:lang('disabled')} </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-8">
                {include file="layout/save_btn"}
            </div>
        </div>
    </form>
</div>
</div>